/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.DesignPatterns.behavioral.interpreter;

import java.util.Map;

/**
 *
 * @author 210017252
 */
public class Number implements Expression{

    private int number;
    public Number(int number)
    {
        this.number = number; 
       
    }

    
    
    @Override
    public int interpret(Map<String, Expression> variables) {
        return number;
    }
    
}
